package com.hnas.eCard.orm;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import com.hnas.core.orm.BaseEntity;

@Entity
@Table(name = "tbl_commodit")
public class Commodit extends BaseEntity{

	@Id
	@Column(name = "id",length=32,nullable=false)
	private String id;
	@Column(name = "name")
	private String name;
	@Column(name = "old_price")
	private Long oldPrice;
	@Column(name = "price")
	private Long price;
	@Column(name = "type")
	private String type;
	@Column(name = "mrch_id")
	private String mrchId;
	@Column(name = "pic_url")
	private String picUrl;
	@Column(name = "desc")
	private String desc;
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Long getPrice() {
		return price;
	}
	public void setPrice(Long price) {
		this.price = price;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public String getMrchId() {
		return mrchId;
	}
	public void setMrchId(String mrchId) {
		this.mrchId = mrchId;
	}
	public String getPicUrl() {
		return picUrl;
	}
	public void setPicUrl(String picUrl) {
		this.picUrl = picUrl;
	}
	public String getDesc() {
		return desc;
	}
	public void setDesc(String desc) {
		this.desc = desc;
	}
	public Long getOldPrice() {
		return oldPrice;
	}
	public void setOldPrice(Long oldPrice) {
		this.oldPrice = oldPrice;
	}
	
}
